#pragma once
#include <mutex>
#include "httpsessionstore.h"

class HttpSessionStoreManager : public QObject
{
private:
	 explicit HttpSessionStoreManager(QObject* panrent = 0) ;
	~HttpSessionStoreManager();

public:
	static HttpSessionStoreManager* getInstance();
	void setHttpSessionStore(stefanfrings::HttpSessionStore* pHttpSessionStore);
	stefanfrings::HttpSessionStore* getHttpSessionStore() const;

private:
	static QMutex m_mutex;
	static HttpSessionStoreManager* m_instance;
	stefanfrings::HttpSessionStore* m_HttpSessionStore;
};

